var CNY = 0.16;

function roundTwoDecimals(amount){
    return Math.round(amount*100)/100;
}

exports.CNYToUSD = function(cny){
    return roundTwoDecimals(cny*CNY);
};

exports.USDToCNY = function(usd){
    return roundTwoDecimals(usd/CNY);
};